package com.jia.acl.service.impl;

import com.jia.acl.entity.Permission;
import com.jia.acl.mapper.PermissionMapper;
import com.jia.acl.service.PermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dujiajia
 * @since 2021-02-03
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {

    @Override
    public List<Permission> selectByIds(List<Long> permissionIds) {
        List<Permission> permissions = baseMapper.selectBatchIds(permissionIds);
        return permissions;
    }
}
